fixes: http://manage.dimagi.com/default.asp?63920