fixed editing and detail view etc