Fix to compile

Signed-off-by: David Silver <dms.silver@gmail.com>
Error fix
typo fix
Alexandra restored