fix check for availability of center
Merge pull request #2 from mathaeus/master

fix check for availability of center