fix setup panda if no grid exist