fixed bug in error sting