Quick fixes for sbmfile