The issue is damage to the crank arm. If the arm was ridden while loose, there is a strong possibility that the square broach in the arm has been damaged. If this is the case, you cannot expect the mounting bolt to reliably secure the arm to the spindle. Replace the arm and install with the proper torque and it should hold.