bug fixing for create virtual card ui