Ya i wanted to have them the same key but i was running into some unexpected errors so i just made them different buttons.
And ya if you picked up the key and died the has_key variable never reset (sadly i realized this after submitting my game)
thx for the feedback :D