fixing the content seting bug