fixed scope handling of controller so adding comments works