get rid of redundant test