Library moving in head of the list after opening