don't save zero distance as preference