two fixes

fix to avoid image recompress on save
fix on webserver module crashing for a not found