Fixed error that always appeared