classes: cast URL fix