bug fixes

Signed-off-by: Frank Llamo <fllamo@rosettastone.com>