Fixed bug

none of the non benefit. functions were working due to out of place
bracket.