fixed some minor latex issues to compile