Don't stuck anymore. Says Object now
 Added some check for the object to be an circle or rectangel