Fix change precision procedure