fix packages in smart file