fixed object.keys bug