fix storing dist without file