another bug fix..