cap words bug fixed/error message created