remove manage code