Fix static layout on static controller