Move cd ~ fix to proper place