remove unneeded conditional check