correctio with wrapping variables