fix EOL
fix indexing - remove type