fixed empty array bug, fType property is now saved