err comment was in the wrong place