sps: Fix arch checks and arch array.
baclean: Release the lock.
deleted an item