fixed issues with users table error