Bug, cannot use repository

User can't use repository if it came to grid from preview mode