Fixed dist bug