fix bug if profile does not existing