error fixed for dist version