fix bug view