fix function, omega and sigma