corrected bug on show view with the pin