Removes warning (regression bug) in text controller