fix compile warning; update to scala 2.10.4