fixed bug that prevented clicking