remove unnecessary .all statement