Fix to multi-level variable syntax