Removes useless keyx