#136 reduce warnings based on libopt