bugfix: ty scala compiler warnings.