fixes unit test on user