update for #62

Still throwing an undefined index error if WP is in debug mode.