fixed small memory issues