Thanks this is the problem im facing and again it happens sometimes and other times it doesnt i thought i had it working when i ran the demo a couple of times without problem and it stil works without a problem but im not running in compatibility mode .im not sure yet why this happens its the same problem preventing me from adding models to blocks now also ,wil have to take this code step by step until i find my mistake