fix compilation error due to very strange stuff happening in back end