solve running bug