remove pkg folder and fixed the rake task