added constraints
prevent set focus
added constraints