fixed #4 fixed getVisibleKeys() method