sql manager fix