fixed sine issue