Bugfix checkpassword