revokePasswordCheck required a string, int was given