fix compiler warnings. references #29