fixed latex table snippet