Bug fix

Signed-off-by: Simon Bailey <simon@newtriks.com>