Fix photometry