add pttopx and fix css load