registry key bug