bug fix for show operation