fixed issue destroy method