correct inverse alignment
make it compatible with normal extract