fix filter_shape dim ref