fixed object keys bug