fixed visibility in edit mode