Fix database table name, it is 'profiling', not 'profileinfo'