fix apps #682