dont fail when last char is a '