embed routes bug fixed