check profile on execution