fix the add button show/hide