kind of fix wrapping bug