remove gallery controller