added error handling if bad LESS is written in ACP. closes #1715