capitalised string bug fix