fixed button issue by hiding them