resolved bug 1192,1218,1229