remove functions from output