updated to work around css bug