altered case fixed bugs