Fix typo and crash preventing asset deployment