scala style fix