Allows layouts fix bug 2