compliance with ghc 7.8.2