remove deprecated syntax