fixed REST+Framework module
[REST] fixed connection with framework modules. Fixes #1105