removed the extension from path