correct inverse and transposePath