Fix on HTTP path generation