fix flatter button