fix bug while no content