fixed some strict notices

Hi Ryan,
I was testing this out on a clean SS 3.1 install, and got some strict notices.    
I've made the following amendments to get rid of it. Does it make sense to you?

Anselm