fix for running on nw