fix/compile error, warning