fixed center creation bug