fixing minor bugs

Signed-off-by: RJ garcia <rj@bighead.net>