Reply with None instead of 0 in case of error.