fixed the type errors

Signed-off-by: buckie <wjmartino@gmail.com>