Fixed invalid comment and deleted unused var