to detect error