fixed issue with agents page ui