realPath to fix issue in windows environment