fixed deprecated scope warnings