fixed invalid output on registry update