replace REM to double colon, etc.

Fix log variable statement.