removing useless outputs