checking block for nil before executing
removed AFCacheLib, since it is beeing generated and added to gitignore now