Added null check for open eval