changed blog date check to use "defined?"