change the 5.4 syntax to be compatible with 5.3