double kernel fix