allow account_id to be an integer