changes for cast images
wrong order of url stub caused an issue