fix dimensions for popup