support latest less middleware