remove unused if-let binding