fixing lamp so it burns down and ignore empty lines on imput