little bug fix into minimosd