Decoupling a 7805

put the 0.1 as close as possible to the output pin, I usually solder it directly on to the centre and right hand pins of the device. ( ground and output )