fix editing of max-len/area
add more c3ga functions