fix bugs with compiling less