fixing my stupid mistake