fix Detail view