fixed an overly restrictive assertion