Fix titleize method so that it doesn't lowercase everything at the end with capitalize method