Prevent duplicate errors