fix photocell sketch