fixing server start from non-working dir