fixed intialization of coefficients