Fixed the weird bug.