remove reference to check