Welcome to the 1X Macro group Katerine. A black background is not a mistake, rather it is consequence of trying to maximize depth of field, freeze movement and the magnification involved in shooting macro with flash. When one weighs using a tripod and long exposure times versus a flash and quick shutter speeds the latter is the better choice for shooting active subjects like insects. It can even be argued that for field photography of static subjects this is the preferred method of shooting to minimize sensor noise and movement due to light breezes. So what causes the black background when we use flash. It’s really quite simple the background behind the subject is too far away to reflect light back to the camera sensor before the shutter closes. If you want further explanation of this just Google "The Inverse Square Law." To combat a black background in macro all one needs to do is shot the subject with the background closer. To illustrate this I offer three examples:
This shot was taken with nothing behind the subject for some distance, +2 meters: http://1x.com/photo/623389/all:user:411326
This shot was taken with foliage behind the subject at ~ 10cm http://1x.com/photo/598393/all:user:411326
This shot was taken with tall dried grasses almost immediately behind the subject, ~ 5cm: http://1x.com/photo/598436/all:user:411326
All shot at f13, 1/200th, ISO100 with diffused flash. The only difference is the distance of the background to the subject. I think there is a place for all three in the macro photographer’s arsenal. The important thing is to understand how distances effect backgrounds when shooting small aperture, high shutter speed, diffused flash, macro photography. You need to make sure to adjust your shooting angle (if possible) to get the background illumination you want, not what someone tells you it should be.