fixing managed