fixed bug for execute instruction