stripping variables to debug which part failed