set visibility prop