trying to correct the application assembly finding logic