fixed some bugs due to the rust update