Fixed value nil checking and added visibility bind type