[DEV] add gitignore and missing return