typo fixed
seems to work now...
style cleanup