Fixed strchr. Need to do strrchr