Fixed bug in rhc