fixed coded in 'show' page