fix dayvew bug