fixed issue (#1) with login mask