add some debug log before returning