fix typos in RDL and header file