Issue #156,#157,#159 is solved in this submit.