fixing error when create new oppotunity