bug fixes for asset generation