fix object.keys use error

Object.keys compatible error.