move midi in checking right at the beginning