fixed a problem with the profile ctrl in order to set nggrid data properly