remove unneeded assertions