added argument id to hook tab-content