fixed bug in removing users