delete redundant main