hacky fix to stop module inclusion errors - needs a proper look