fixed issues with dist