phoview and phosort exist
 fixed memory leak in phoview