fix mismatched axes