fix hardcoded public paths