Fixed layout's problem with locked content variables.