fixed using a custom layout when using builder