Fixed Layout Syntax Errors

Now compiles