refine style to fit new theme