fix bugs from browser testing user in contest