common: fix syntax errors
common: add vertical and horizontal wrappers