change invalid declaration with valid css