fix style parameters to match platform better