Solutions for problems related to non uniform document background