add expand_path to see if that helps