Fix style problem on swap mode.