fix bug in model-to helper
add css class to help testing