Fix class passed as partial URL