fixed bug with empty user window