Fixed some Capitalization errors in the debug mode.