gets rid of internal methods on flags