bufix with different layouts