fix to issue 809 No errors given when tested