#5 fixed firefox loginBox issue