Move strict declaration inside function block.
Remove duplicate object.
Update message.