Fixed bug with pcas images