Fixed issue of static collecting to wrong path