Fix can_edit