fix application layout; remove flash