fixing mistakes