Employee was working on a cat engine with four 6 ton jackstands. The employee pulled himself up from the hoses on the top of the engine. One of the stands came loose striking the employee. Injury - contusion on right foot and left thumb and scrape on shoulder. New engine stands were built and corrections made.