tclipg-4001 -fixing the bug