final fix for app