correctly build dist