fixed bug in smartfield for server