[Layout] Fixed funny bugs

Signed-off-by: Aniket Pant <me@aniketpant.com>