init bug

if init fails, report fail and success at the same time. fixed now.