fixing delivery error