applying patch by Gustaf N. http://openacs.org/forums/message-view?message_id=4193111