bug fix palmer