fixed error with caps