Fix object attributes