Fixing a bug shown in the lamp