Fixes deflate bug