fixed center creation bug

Hi Keith,

This commit includes a bug fix to Center creation.

Regards
Ashok