Fix error treated as warning issue.