fix case from OSX bug