add missing property declaration
fix unused func arg