pic bug fix