fix deprecated in css framework