resolve dist issues