fix within wrapper