fix layout bug on create definition of ready and task