FIX: solve warnings and remove from scope the binary