adjust text limits