fix found->find in distribute
remove optimisation and stripping to allow gdb usage