fix if rename value is zero