compatibility with scotty 0.6.2