trying to fix getaimdir