couple more bugs

Signed-off-by: Richard Ellis <info@lookstechnical.co.uk>