Remove unneede statements