fixed bug in unity 1.1.7