some latex issues resolved