fixed deprecated constants