Update ghcl.hpp

Sanity check added