fix bug in presentation with purposes length