remove unused libraries
don't bother player if position didn't change