Remove select() call duplication in .min file too and unused code left from wrong select call