fixed plotGrid