ensure error is thrown on it's own line