Fixed issue caused by extra end parens