fix error with assets #348