fixed text getting overwritten