Fixed a bug that wasn't a bug and replaced original code