added code to remove the install trap.