error for using too many hyphens solved