Removing some unneeded bits