Exported parseall, and fixed 2 bugs