fixed bug with virtual creating