added error traces for debug