Removing useless data