cap cased the wrong thing
better hash change handling