Fixing directory issue app_wide