write buildignore properly