resolve warnings scala style.