remove debug of ids and sql