fix syntax for newer versions