remove code which is related to afui