fixed disappearing button issue