Fixing bug while using empty css value