throw exception when unknown format is requested
fix hidden preview
fix passing aspect ratio to form