camera not working propertly