Fixed some errors messages