added default value to z index in images