remove transformations from casting step