fixed "add" button showing not when its supposed to be