Fixed compile problem with capital letters in ranPasword which was changed to randpassword