modified the ref to css