fixing show content renders when its supposed to