added some error filtering

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