Fixing some bugs
Merge pull request #69 from shayhowe/fixing-center

Fixing some bugs