solve a bug`