bugfixes - wrong name in functions

Signed-off-by: Eduardo Stuart <stuart.eduardo@gmail.com>