quick fix problem with resource in hex format