fix ancient syntax, thanks @sgalles