added somefixes to dist system