run latex after bugs have been fixed