fixed bug with sign off