fixed errors in users views