fixed images parsing