fixing an issue while compiling latex (not really a good solution)