fix: pass correct function parameter to notify user