fixed erroe\r