snapshot for reuse null pointer error