Study of roof stability of the end of working face in upward longwall top coal