Fix the empty APP_URI issue