bin: Fix small bugs