fix apps install mkdir statement