server function was commented out and was set to statically return null