v1.29: fixed minor bugs