added support for no css mask