fixed bug on not reloading page on delete action