Fixed bug proflle validation