fix a empty list bug for rotate, format upgraded