remove uneeded check