prevent possible alert issues