errors messages fixed