fixed code related to trial mode