add middleware css support