make it work if hosted in subdirectory