removed response end after render