very weird and layout

it works sometimes but just with cook and not with sell and it is just
weird