fixed bug for 1-word-long password, and styling