test and fix remote theme support