fixed bug: getUserIdByName return null.