Fixed compile error

@seliopou please review