REST_V1.8_130224: fixed some minor bugs