fix disappearing button magic