Fixed the sub directory path issue