fixed issues with centering items