Fixed some minor idnice bug.