change errorcode