Fixes

Signed-off-by: tachyony <tachyony@live.co.uk>