fix paths config bugs