minor bug issues

Signed-off-by: Tom Everett <tome@criticalmass.com>