fix verify classroom function