fix typo that could have weird effects in multi layer build