sorted out disable buttons for keyhole