why won't span listen to classes?