fixed missed code bracket