Fix bug that prevents dev/build running