fixed error during GoodNite