fixing the expand :before