modified error for wrong parsed rcode