fixing notice with debug_backtrace