Fixed comment preview missing
Removed unused function