fix app IP selection