Fix double compression