getting element property value fixed