bug fix palmer plugin'