find a bug when test the lib