several changes
updated less middleware usage