to check for imgcapcontroller