oopsie. fixed some latex bugs