fix bug print error