null check for basic parser