Fixed a parser decl bug, added null checks to symbol code, change an error