fixing issue with not showing the button