fixing my silly mistakes