Fixed errors in edit Group and component controllers.