fix bug layout