05.30.13 bugfix and new redist method