add binary to gitignore
remove unnecessary type conversion