add textpos support