Changed render() to do the echo instead of relying on the call.