fixed verification error on server-side