ACCESS: replace an assert by an error as suggested by LordHoto