Chemistry runtime fixes