backwards compatibility fix for #579

cc @zonkmachine