fix flexible design