Fixed possible chaos :)