move server path macro to header