fixing instruction constructor