Fixing a bug in apth for code_apl file