I couldn't reproduce your problem. If you are still having issues, could you please describe the exact steps we need to take to run into this problem?
You can file a bug on our tracker here:
https://bugs.launchpad.net/mahara/+filebug
Cheers,
Francois
]]>Any ways to avoid this issue?
I am runnign Mahara, 1.4, on postgresql
]]>