fixed bug in packages templating and assets