script creates two frames. there is no need to display same error in both.