Fixed registry issue with lamp