fix distribution insert in redshift
version bump to 1.0.5