bug fixes and generalizations for LESS