fix compiler warnings
[#220] one-off operations