error was caused by moving render calls to render module... but some are still called in blender kernel...