trim app number in state page