Check res obj not null
Keyboard acessory border tweak