gridded apps unit bug fix