Fixed bug that an model will be checked if an object