fix app cont bug