Prevents multiple warnings from being shown