fix parsing

#1367