Fixing flash layout