fix big issues with new latex compiler (v2014)