fixed cool bug