fix for typeerror during less compilation