fix some reported issues
introducing initializer_list