added Occurs check to error list