fixed issue with undefined profile