fix render state parsing
add comment