Update Comment and fix error declaration