resulve bug