changed dashes to underscores

accidentally accessing attributes with dash separators instead of underscores