correct casting type
update gitignore