fix app compat issues