libsm is redundant