fixed list parse issue and added write support