Fix some invalid error messages from Mix