fixing execute bug