fix layout injections