Small bug fix

Signed-off-by: Chris Jones <chris@jonezy.org>