placeholder replace, clean up css