fixed comparison star, and edited error messages