adjustment to API changes

cleared code in addition
Merge pull request #1 from piotrgiedziun/site

adjustment to API changes