fix logic for showing the subscribe functionality