Fixed the 'stack corruption' problem.