fix plist function for autosize