Bugfix -> collision occured when trying to minimize variable