remove odd cast