fixes beginning