syntax compatibility fixes