fixing stupid mistake