remove unuserful code