fix grid for MQ
set up cap