fix always showing button