fix Object.keys error