patch broken dist build