path size bug fix