fix layout constant syntax error

per #6960