removing packages directory