remove useless code; refactor LESS style