fixed limb.c