fixed comet bug