Don't run if stack is null

Signed-off-by: Captain Shadows <captain_shadows@aol.com>