Fixed buggy controller for license page