corrected bugs in execution