fixed sky subtraction issue (or so I hope)