fixing bug in big wrapper