fix issue 8 ~ better error messages format