Fix AbsolutePath method