delete console log, fix flash