fixed calculation of inverse operations
drwxr-xr-x - ir