Fixed bug when not using css option.