fixed a capitalize bug