Fixed all entries for hasOwnProperty in my code