backend: Fix layouts