made canvas centered
merged index