fixed fragment order of operation issue