On some regularity results of minimizers of energy functionals