include iostream to be save
fixed client errors