app handler fix