old php compatibility

constant fix