fix routing issue for /dev