Fixing dropdown autofill bug and bugs with 0s