fixed -od bug