fixing bin and casing of error message