fixing input over text. It needs to be called after the inputs are injected.