solve Bug4