fixed bug where cases stopped working after changing password to an array element
fixed bug where cases stopped working after changing password to an array element