Minor changes in afe_smd