Add layout rewrite to 'fix' generateAction