a few improvement in password strength base library