small fix for server rendering