fixed a couple attribute inits