removed afp and  buttons when not supported