Before create bugNode