solved comet problem