Fix object editing