fix to delete box