Better error message in flexible.inc