reverted head subdirectory modification