fix for deployment in sub-uri