fixed so that :before is in the mixing