fixing more variable initalizations