Removing pic from class list