fixed arduino code to actually change status without err