Yet another stupid mistake of mine