found the bug. fixed it.

Signed-off-by: Julio Felipe Angelini <julio.angelini@gmail.com>