updated bug in new sentences code