minor tweaks to comment, error message