fix check for availability of center