fix reading texture instead of name