Fix exception with .less resource