Fix swing problem, typo