removed unresponsive script bug and made remove button more targeted