fix problem wiht empty password