fixed parser, still crashes on large proteins