fixed problem of default view redirect with images