fix morris for zero-range inputs