small fix for #187 #212