Fixed some bugs with blue server