minor fix to profile module