fixed unbound method error

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>