issue #2 - notices fixed

Signed-off-by: Eduardo Stuart <contato@eduardostuart.com.br>