make sure, list contains something, before trying to remove something