fixing filetree path and removing depens that are not needed